package com.qf.ym;

import org.springframework.util.DigestUtils;

import java.util.UUID;

public class MyUtils {
    public static boolean isEmpty(String str){
        return  str==null||"".equals(str);
    }


    public static String Md5Jm(String str){
        return DigestUtils.md5DigestAsHex(str.getBytes());
    }

    public static String getUUID(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }


}
